<!DOCTYPE html>
<html>
<head>
    {include file="public/header" /}
    <style>
        .layui-card {border:1px solid #f2f2f2;border-radius:5px;}
        .icon {margin-right:10px;color:#1aa094;}
        .icon-cray {color:#ffb800!important;}
        .icon-blue {color:#1e9fff!important;}
        .icon-tip {color:#ff5722!important;}
        .layuimini-qiuck-module {text-align:center;margin-top: 10px}
        .layuimini-qiuck-module a i {display:inline-block;width:100%;height:60px;line-height:60px;text-align:center;border-radius:2px;font-size:30px;background-color:#F8F8F8;color:#333;transition:all .3s;-webkit-transition:all .3s;}
        .layuimini-qiuck-module a cite {position:relative;top:2px;display:block;color:#666;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:14px;}
        .welcome-module {width:100%;height:380px;}
        .panel {background-color:#fff;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}
        .panel-body {padding:10px}
        .panel-title {margin-top:0;margin-bottom:0;font-size:12px;color:inherit}
        .label {display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;margin-top: .3em;}
        .layui-red {color:red}
        .main_btn > p {height:40px;}
        .layui-bg-number {background-color:#F8F8F8;}
        .layuimini-notice:hover {background:#f6f6f6;}
        .layuimini-notice {padding:7px 16px;clear:both;font-size:12px !important;cursor:pointer;position:relative;transition:background 0.2s ease-in-out;}
        .layuimini-notice-title,.layuimini-notice-label {
            padding-right: 70px !important;text-overflow:ellipsis!important;overflow:hidden!important;white-space:nowrap!important;}
        .layuimini-notice-title {line-height:28px;font-size:14px;}
        .layuimini-notice-extra {position:absolute;top:50%;margin-top:-8px;right:16px;display:inline-block;height:16px;color:#999;}
        .layui-col-space10 > * {
            padding: 10px;
        }
    </style>
</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md6">
                <div class="layui-row layui-col-space15">
                    <!--用户统计-->
                    <div class="layui-col-md12">
                        <div class="layui-card" id="user-count">
                            <div class="layui-card-header"><i class="fa fa-warning icon"></i>用户统计</div>
                            <div class="layui-card-body">
                                <div class="welcome-module">
                                    <div class="layui-row layui-col-space10">
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-blue">实时</span>
                                                        <h5>今日浏览量</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$user.browse_count.count}</h1>
                                                        <span data-id="{$user.browse_count.id}" style="display:none">{$user.browse_count.id}</span>

                                                        <small>当前分类总记录数</small>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-blue">实时</span>
                                                        <h5>用户总数</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$user.total_count.count}</h1>

                                                        <span class="aa" data-id="{$user.total_count.id}" style="display:none">{$user.total_count.id}</span>
                                                        <small>当前分类总记录数</small>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-blue">实时</span>
                                                        <h5>本月新增用户</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$user.month_count.count}</h1>
                                                        <span data-id="{$user.month_count.id}" style="display:none">{$user.month_count.id}</span>
                                                        <small>当前分类总记录数</small>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-blue">实时</span>
                                                        <h5>上月新增用户</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$user.lastmonth_count.count}</h1>
                                                        <span  style="display:none">{$user.lastmonth_count.id}</span>
                                                        <small>当前分类总记录数</small>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-blue">实时</span>
                                                        <h5>今日新增用户</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$user.today_count.count}</h1>
                                                        <span  style="display:none">{$user.today_count.id}</span>
                                                        <small>当前分类总记录数</small>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-blue">实时</span>
                                                        <h5>昨日新增用户</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$user.yesterday_count.count}</h1>
                                                        <span  style="display:none">{$user.yesterday_count.id}</span>
                                                        <small>当前分类总记录数</small>
                                                        <input type="hidden" value="{$user.yesterday_count.id}">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--销售统计-->
                    <div class="layui-col-md12">
                        <div class="layui-card" id="saleorder-count">
                            <div class="layui-card-header"><i class="fa fa-warning icon"></i>销售统计</div>
                            <div class="layui-card-body">
                                <div class="welcome-module">
                                    <div class="layui-row layui-col-space10">
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-blue">实时</span>
                                                        <h5>总销售额</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$order_complete_money.total_count.count}</h1>
                                                        <span   style="display:none">{$order_complete_money.total_count.id}</span>

                                                        <small>当前分类总记录数</small>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-blue">实时</span>
                                                        <h5>本月销售额</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$order_complete_money.month_count.count}</h1>

                                                        <span  style="display:none">{$order_complete_money.month_count.id}</span>
                                                        <small>当前分类总记录数</small>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-blue">实时</span>
                                                        <h5>上月销售额</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$order_complete_money.lastmonth_count.count}</h1>
                                                        <span   style="display:none">{$order_complete_money.lastmonth_count.id}</span>
                                                        <small>当前分类总记录数</small>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-blue">实时</span>
                                                        <h5>今日销售额</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$order_complete_money.today_count.count}</h1>
                                                        <span  style="display:none">{$order_complete_money.today_count.id}</span>
                                                        <small>当前分类总记录数</small>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-blue">实时</span>
                                                        <h5>昨日销售额</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$order_complete_money.yesterday_count.count}</h1>
                                                        <span  style="display:none">{$order_complete_money.yesterday_count.id}</span>
                                                        <small>当前分类总记录数</small>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-col-md6">
                <!--订单统计-->
                <div class="layui-card" id="order-count">
                    <div class="layui-card-header"><i class="fa fa-warning icon"></i>订单统计</div>
                    <div class="layui-card-body">
                        <div class="welcome-module">
                            <div class="layui-row layui-col-space10">
                                <div class="layui-col-xs6">
                                    <div class="panel layui-bg-number">
                                        <div class="panel-body">
                                            <div class="panel-title">
                                                <span class="label pull-right layui-bg-blue">实时</span>
                                                <h5>总订单</h5>
                                            </div>
                                            <div class="panel-content">
                                                <h1 class="no-margins">{$order_number.total_count.count}</h1>
                                                <span   style="display:none">{$order_number.total_count.id}</span>
                                                <small>当前分类总记录数</small>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs6">
                                    <div class="panel layui-bg-number">
                                        <div class="panel-body">
                                            <div class="panel-title">
                                                <span class="label pull-right layui-bg-blue">实时</span>
                                                <h5>本月订单</h5>
                                            </div>
                                            <div class="panel-content">
                                                <h1 class="no-margins">{$order_number.month_count.count}</h1>
                                                <span  style="display:none">{$order_complete_money.month_count.id}</span>
                                                <small>当前分类总记录数</small>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs6">
                                    <div class="panel layui-bg-number">
                                        <div class="panel-body">
                                            <div class="panel-title">
                                                <span class="label pull-right layui-bg-blue">实时</span>
                                                <h5>上月订单</h5>
                                            </div>
                                            <div class="panel-content">
                                                <h1 class="no-margins">{$order_number.lastmonth_count.count}</h1>
                                                <span   style="display:none">{$order_complete_money.lastmonth_count.id}</span>
                                                <small>当前分类总记录数</small>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs6">
                                    <div class="panel layui-bg-number">
                                        <div class="panel-body">
                                            <div class="panel-title">
                                                <span class="label pull-right layui-bg-blue">实时</span>
                                                <h5>今日订单</h5>
                                            </div>
                                            <div class="panel-content">
                                                <h1 class="no-margins">{$order_number.today_count.count}</h1>
                                                <span  style="display:none">{$order_complete_money.today_count.id}</span>
                                                <small>当前分类总记录数</small>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs6">
                                    <div class="panel layui-bg-number">
                                        <div class="panel-body">
                                            <div class="panel-title">
                                                <span class="label pull-right layui-bg-blue">实时</span>
                                                <h5>昨日订单</h5>
                                            </div>
                                            <div class="panel-content">
                                                <h1 class="no-margins">{$order_number.yesterday_count.count}</h1>
                                                <span  style="display:none">{$order_complete_money.yesterday_count.id}</span>
                                                <small>当前分类总记录数</small>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs6">
                                    <div class="panel layui-bg-number">
                                        <div class="panel-body">
                                            <div class="panel-title">
                                                <span class="label pull-right layui-bg-blue">实时</span>
                                                <h5>待发货</h5>
                                            </div>
                                            <div class="panel-content">
                                                <h1 class="no-marginss">{$order_number.tosend_count.count}</h1>
                                                <span  style="display:none">{$order_number.tosend_count.id}</span>
                                                <small>当前分类总记录数</small>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!--供应商入住-->
                <div class="layui-card" id="supplier-count" style="position: fixed;top:10px;right:0px">
                    <!--<div class="layui-card-header"><i class="fa fa-paper-plane-o icon"></i>供应商入住</div>-->
                    <div class="layui-card-body layui-text">
                        <table class="layui-table">
                            <colgroup>
                                <col width="100">
                                <col>
                            </colgroup>
                            <tbody>
                            <tr>
                                <td>供应商入住申请</td>
                                <td><h1 class="no-margins" id="supplier_num">{$supplier_num}</h1></td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <!--注册排行-->
                <div class="layui-card" >
                    <div class="layui-card-header"><i class="fa fa-fire icon"></i>注册排行
                        <button id="reg-count"  style="margin-left: 66%" type="button" class="layui-btn layui-btn-sm layui-btn-normal">点击查看更多</button>
                    </div>
                    <div class="layui-card-body layui-text">
                        <table class="layui-table">
                            <colgroup>
                                <col >
                                <colwidth="100">
                            </colgroup>
                            <thead>
                            <tr>
                                <th>地区</th>
                                <th>数量</th>
                            </tr>
                            </thead>
                            <tbody>
                            {volist name="$user_reg" id="v"}
                            <tr>
                                <td>{$v.address_all}</td>
                                <td>{$v.num}人</td>
                            </tr>
                            {/volist}
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script src="/static/admin/datacenter/index.js?v={$Think.const.TIMESTAMP}" charset="utf-8"></script>
<script>

</script>
</body>
</html>